Skip to content

implement backend for fetching type conversions#2989

Merged
jgao54 merged 6 commits into
mainfrom
type-conversion-api
May 30, 2025
Merged

implement backend for fetching type conversions#2989
jgao54 merged 6 commits into
mainfrom
type-conversion-api

Conversation

@jgao54

@jgao54 jgao54 commented May 29, 2025

Copy link
Copy Markdown
Contributor

Implement the backend to support type conversion frontend

@jgao54 jgao54 force-pushed the type-conversion-api branch 3 times, most recently from fd4d36a to 24a8532 Compare May 29, 2025 21:37
@jgao54 jgao54 marked this pull request as ready for review May 29, 2025 21:37
@jgao54 jgao54 requested review from Amogh-Bharadwaj and serprex May 29, 2025 21:37
@jgao54 jgao54 changed the base branch from type-conversion-frontend to main May 29, 2025 21:40
@jgao54 jgao54 force-pushed the type-conversion-api branch from 24a8532 to 618bdb2 Compare May 29, 2025 21:42
Comment thread flow/connectors/clickhouse/qrep_avro_sync.go Outdated
@jgao54 jgao54 requested review from heavycrystal and serprex May 30, 2025 17:07

@Amogh-Bharadwaj Amogh-Bharadwaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you could add some comments for the functions in flow/connectors/clickhouse/type_conversion.go that would be great :)

@jgao54 jgao54 enabled auto-merge (squash) May 30, 2025 22:39
@jgao54 jgao54 force-pushed the type-conversion-api branch from a2f40a6 to b484551 Compare May 30, 2025 22:44
@jgao54 jgao54 merged commit 0dd02fc into main May 30, 2025
15 checks passed
@jgao54 jgao54 deleted the type-conversion-api branch May 30, 2025 22:56
jgao54 added a commit that referenced this pull request May 30, 2025
Create frontend for [custom column type
conversion.](#2989).

It creates a dropdown of possible conversions determined by the backend.
Right now only numeric -> string is supported.
If there are no available conversion, the option for `use custom column
destination type` will be hidden.

Test: locally created a table that contains column with numeric type,
create ClickPipe via UI, and see CH table get created with String type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants